package com.itpan.Service;

import com.itpan.Entity.Product;

import java.util.List;

public interface ProductService {

    List<Product> getAll();

    List<Product> getAllPage(Integer page,Integer pageSize);

    List<Product> getByName(String Name);

    Product getById(String Id);

    void saveOne(Product product);

    void saveAll(List<Product> list);

    void update(Product product);

    void delete(String Id);

    List<Product> getbymutil(Product product);

    List<Product> getbycid(String Id);
}
